<%-- 
    Document   : ResultSearchAllUser
    Created on : 04/12/2013, 22:40:56
    Author     : Adriano
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>

<jsp:useBean  type="model.User" id="User" scope="session"/>  
<jsp:useBean  type="java.util.ArrayList" id="ListUser" scope="session"/>  

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>Relatório de Usuários</title>

               <script type="text/javascript" charset="utf-8" language="javascript" src="resources/js/dataTables.tableTools.js"></script>
               <script type="text/javascript" charset="utf-8" language="javascript" src="resources/js/relatorios.js"></script>
    </head>




    <body class="reports">
        <div class="wrapper_reports">
            <!--<%@ include file="header.jsp" %>-->
            <div class="title_reports">
                <span class="h1">Relatório de Usuários</span>
            </div>

            <table  id="example"  class="display" cellspacing="0" width="100%" style="height: 100px" >
                <thead>
                    <tr>
                        <th >Nome</th>
                        <th >Email</th>
                        <th >Perfil</th>
                        <th >Status</th>
                    </tr>
                </thead>

                <tbody>
                    <c:forEach items="${ListUser}" var="user"> 
                        <tr>
                            <td><c:out value="${user.name}"/></td>
                            <td><c:out value="${user.email}"/></td>
                            <td><c:out value="${user.lstprofile}"/></td>
                            <td><c:out value="${user.lstStatus}"/></td>

                        </tr> 
                
                    </c:forEach>
                </tbody>

            </table>
        </div>

    </body>
    <!-- <%@ include file="footer.jsp" %>-->

</html>
